package com.intehel.mapper;

import com.intehel.pojo.security.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: Kele
 * @CreateDate: 2022/6/1 9:22
 * @Version:
 */
@Mapper
@Component
public interface UserMapper {

    /**
     * 通过用户名查询用户信息
     * @param username 用户名
     * @return com.intehel.pojo.User 用户信息
     * @author: Kele
     * @date 2022/6/1 10:00
     */
    User getUserByUsername(String username);
}
